package com.create404.suishoupai.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.create404.suishoupai.dto.CommentedNewsDto;
import com.create404.suishoupai.entity.NewsComment;
import com.create404.suishoupai.vo.NewsCommentListItemVO;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author create404
 * @since 2021-07-17
 */
public interface INewsCommentService extends IService<NewsComment> {
    List<NewsCommentListItemVO> getNewsCommentList(String newsId);

    IPage<CommentedNewsDto> getCommentedNews(Page<?> page, String employeeId);
}
